#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int Add(int x, int y)
{
	return x + y;

}

int Threetimes(int x, int y)
{
	int time = 0,z=0,c=0;
	for (time = 0; time < 3; time++)
	{
		c=Add(x,y);
		z = z + c;
	}
	return z;
}
int main()
{
	int a = 2, b = 8;
	printf("%d\n\n", Threetimes(a,b));
	return 0;
}